import {
  helloService,
} from '@/services/common';

// 业务代码
const helloAction = ({ commit }) => new Promise((resolve) => {
  helloService().then((res) => {
    if (res.success) {
      commit('hellostr_set', res.data);
    }
    resolve(res);
  });
});

export default {
  helloAction,
};
